package com.ktwlsoft.archivemanage.payload.businessInspect;

import com.ktwlsoft.archivemanage.domain.dao.entity.businessInspect.BusinessInspect;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 业务检查列表
 *
 * @author zhuhe on 2019/11/13 12:31
 * @version 1.0
 */
@ApiModel("业务检查列表")
@Getter
@Setter
public class BusinessInspectFindPageRequest {

    private Integer pn;

    private Integer pageSize;

    /**考核模板id*/
    @ApiModelProperty("考核模板id")
    private Long temId;

    /**指导人id*/
    @ApiModelProperty("指导人id")
    private Long instructorId;

    /**指导时间开始*/
    @ApiModelProperty("指导时间开始")
    private String guidanceTimeStart;

    /**指导时间结束*/
    @ApiModelProperty("指导时间结束")
    private String guidanceTimeEnd;

    /**得分开始*/
    @ApiModelProperty("得分开始")
    private BigDecimal markStart;

    /**得分结束*/
    @ApiModelProperty("得分结束")
    private BigDecimal markEnd;

    /**状态:STAGE(暂存),COMPLETE(完结)*/
    @ApiModelProperty("状态:STAGE(暂存),COMPLETE(完结)")
    private BusinessInspect.state state;

    /**关键字*/
    @ApiModelProperty("关键字")
    private String keyWords;

    /**排序字段*/
    @ApiModelProperty("排序字段")
    private String field;

    /**排序方式:descend(降序),ascend(升序)*/
    @ApiModelProperty("排序方式:descend(降序),ascend(升序)")
    private order order;

    /**检查类型:default(默认),self_or_repeat(自查复查)**/
    @ApiModelProperty("检查类型:default(默认),self_or_repeat(自查复查)")
    private String inspectType;

    public enum order{
        /**降序*/
        descend,
        /**升序*/
        ascend;
    }
}